package org.example.dev.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
// 图片生成记录详情
@TableName("imagegeneration")
public class ImageGeneration {

    private String generationId;

    private Integer userId;

    private String inputText;

    private String inputImageUrl;

    private String generatedImageUrl;

    private Integer type;

    private Integer width;

    private Integer height;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime generationTime;
}
